import className from './header.css' // 开启css-loader中的modules
console.log(className)

// https://github.com/vuejs/babel-plugin-transform-vue-jsx
export default {
  data () {
    return {
      a: 11
    }
  },
  mounted () {
    console.log(45454)
  },
  render () {
    // Starting with version 3.4.0 we automatically inject const h = this.$createElement in any method and getter (not functions or arrow functions) declared in ES2015 syntax that has JSX so you can drop the (h) parameter.
    return (
      // <div class={className.header}>
      <div class='header'>
        {this.a}
        22
      </div>
    )
  }
}
